package net.mysoft.budgetsoft.system.pagemodel;

/**   
 *  
 * @author dagongPGP v1.0 
 * @link <a href=http://www.dagongsoft.net>北京大公信软科技有限公司</a> 
 *  
 * @version $Revision: 1.00  $Date: 2014-04-24 17:59:03 
 */

public class Mdinfo implements java.io.Serializable {

	private String ids;
	private int page;// 当前页
	private int rows;// 每页显示记录数
	private String sort;// 排序字段名
	private String order;// 按什么排序(asc,desc)
	  
    private String c_mdcode;
    private String c_cname;
    private String c_comment;
    private String c_modifier;
    private String c_helpurl;
    private String c_type;
    private String c_name;
    private java.util.Date c_modify_dt;
    private Integer c_scan_count;
    private String c_navidw;
	
    private String rootID;
    private String shangJiCDBH;
	private String shangJiCDMC;
	private String idLeaf;
	private String state;
	private String url;
	
	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getRootID() {
		return rootID;
	}

	public void setRootID(String rootID) {
		this.rootID = rootID;
	}

	public String getShangJiCDBH() {
		return shangJiCDBH;
	}

	public void setShangJiCDBH(String shangJiCDBH) {
		this.shangJiCDBH = shangJiCDBH;
	}

	public String getShangJiCDMC() {
		return shangJiCDMC;
	}

	public void setShangJiCDMC(String shangJiCDMC) {
		this.shangJiCDMC = shangJiCDMC;
	}

	public String getIdLeaf() {
		return idLeaf;
	}

	public void setIdLeaf(String idLeaf) {
		this.idLeaf = idLeaf;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getIds() {
		return ids;
	}

	public void setIds(String ids) {
		this.ids = ids;
	}
	
	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getRows() {
		return rows;
	}

	public void setRows(int rows) {
		this.rows = rows;
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	public String getOrder() {
		return order;
	}

	public void setOrder(String order) {
		this.order = order;
	}
	
    public String getC_mdcode(){
    	return this.c_mdcode;
    }
    
    public void setC_mdcode(String c_mdcode){
    	this.c_mdcode = c_mdcode;
    }
    
    public String getC_cname(){
    	return this.c_cname;
    }
    
    public void setC_cname(String c_cname){
    	this.c_cname = c_cname;
    }
    
    public String getC_comment(){
    	return this.c_comment;
    }
    
    public void setC_comment(String c_comment){
    	this.c_comment = c_comment;
    }
    
    public String getC_modifier(){
    	return this.c_modifier;
    }
    
    public void setC_modifier(String c_modifier){
    	this.c_modifier = c_modifier;
    }
    
    public String getC_helpurl(){
    	return this.c_helpurl;
    }
    
    public void setC_helpurl(String c_helpurl){
    	this.c_helpurl = c_helpurl;
    }
    
    public String getC_type(){
    	return this.c_type;
    }
    
    public void setC_type(String c_type){
    	this.c_type = c_type;
    }
    
    public String getC_name(){
    	return this.c_name;
    }
    
    public void setC_name(String c_name){
    	this.c_name = c_name;
    }
    
    public java.util.Date getC_modify_dt(){
    	return this.c_modify_dt;
    }
    
    public void setC_modify_dt(java.util.Date c_modify_dt){
    	this.c_modify_dt = c_modify_dt;
    }
    
    public Integer getC_scan_count(){
    	return this.c_scan_count;
    }
    
    public void setC_scan_count(Integer c_scan_count){
    	this.c_scan_count = c_scan_count;
    }
    
    public String getC_navidw(){
    	return this.c_navidw;
    }
    
    public void setC_navidw(String c_navidw){
    	this.c_navidw = c_navidw;
    }
    
	
    @Override
    public int hashCode() {
    	int prime = 0;
        prime +=this.getC_mdcode().hashCode();
        return prime;
    }

    @Override
    public boolean equals(Object obj) {
    	boolean isEquals = false;
    	if(obj!=null&&this.getClass()==obj.getClass()){
    		Mdinfo clazz = (Mdinfo)obj;
            if(clazz.getC_mdcode().equals(this.getC_mdcode()))
            	isEquals = true;
    		return isEquals;
    	}
        return isEquals;
    }

}